$OpenBSD: patch-Makefile_in,v 1.2 2016/12/30 23:15:09 jca Exp $
--- Makefile.in.orig	Tue Mar 13 14:46:18 2001
+++ Makefile.in	Fri Dec 30 19:10:30 2016
@@ -1,10 +1,10 @@
 # s10sh Makefile
 
 OPTIONS=@HAVE_READLINE@ @HAVE_USB_SUPPORT@
-LIBS=@LIBREADLINE@ @LIBTERMCAP@
+LIBS=@LIBREADLINE@ @LIBTERMCAP@ @LIBUSB@
 CC=gcc
-CCOPT=-O2 -Wall -g @LIBUSBHEADER@
-OBJECTS=main.o crc.o usb.o serial.o common.o bar.o @LIBUSB@
+CCOPT=${CFLAGS} -Wall @LIBUSBHEADER@
+OBJECTS=main.o crc.o usb.o serial.o common.o bar.o
 
 all: s10sh
 
